Before giving more details, we give below an example of the two first bars of the sonata in C-major K545 by MOZART:
The coding is set as follows:
\begin{music} \parindent 1cm \def\nbinstruments{1}\relax % a single instrument \def\instrumenti{Piano}% % whose name is Piano \nbporteesi=2\relax % with two staffs \generalmeter{\meterfrac{4}{4}}\relax % 4/4 meter chosen \debutextrait % starting real score \normal % normal 12 pt note spacing \temps\Notes\ibu0f0\qh0{cge}\tbu0\qh0g|\hl j\enotes \temps\Notes\ibu0f0\qh0{cge}\tbu0\qh0g|\ql l\sk\ql n\enotes \barre % bar \Notes\ibu0f0\qh0{dgf}|\qlp i\enotes \notes\tbu0\qh0g|\ibbl1j3\qb1j\tbl1\qb1k\enotes \temps\Notes\ibu0f0\qh0{cge}\tbu0\qh0g|\hl j\enotes \finextrait % terminate excerpt \end{music}